<?php


namespace app\common\model;


use think\Model;

class Region extends Model
{
    public static function getVantAreaList(){
        $data = [];
        $data['province_list'] = self::where('depth',1)->column('cityName','id');
        $data['city_list'] = self::where('depth',2)->column('cityName','id');
        $data['county_list'] = self::where('depth',3)->column('cityName','id');
        return $data;
    }
}
